May not be used in any commercial or for-profit product without the written consent of ENDPOINT! (408)╩737╨3831.
Description: allows the modification of resource data from within 4D.
Parameters:
1: Path name of file to be modified. MUST be a file, therefore cannot end with a colon.
2: Type of resource to be written. MUST be four characters, such as "STR#" or "snd ".
3: Resource ID to be written. MUST be an integer in the range of allowable IDs. Existing resources will be overwritten!
4: Resource Name to be written. May be Null (""). (Multiple resources may have the same name, which is allowable in the Mac OS but not advised. In the case of 4DtoResource, the Resource ID number is the important piece of data.)
5: Data to be saved into the resource specified.
Returns: an integer representing the error, if any, which occurred.